import { _decorator, Component, Node } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('CallLoginPanelButtonUI')
export class CallLoginPanelButtonUI extends Component {

    @property(Node)
    loginPanel: Node = null;

    // 点击唤出注册登录界面
    onClickCallLoginPanelButton() {
        this.node.active = false;
        this.loginPanel.active = true;
    }
}
